@extends('layout.index')
@section('title','轮播图列表')
@section('content')

	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span><i class="icon-pictures"></i>轮播图管理</span>
      </div>
      <div class="mws-panel-body">
    		<ul class="thumbnails mws-gallery">
    		  @foreach($cimgs as $k=>$v)
    			<li>
          	<span class="thumbnail"><img alt="" src="{{$v->pic}}"></span>
            <span class="mws-gallery-overlay">
                <a href="{{$v->pic}}" rel="prettyPhoto[gallery1]" class="mws-gallery-btn"><i class="icon-search"></i></a>
                <a class="mws-gallery-btn" href="{{url('/admin/carousel/edit',[$v->id])}}"><i class="icon-pencil"></i></a>
                <a class="mws-gallery-btn" href="{{url('/admin/carousel/del',[$v->id])}}"><i class="icon-trash"></i></a>
            </span>
    			</li>  
    			@endforeach  
    		

    		</ul>
      </div>
	</div>
	
@endsection